package com.material.vtool.service;

import com.material.vtool.entity.BTeamMaterialEntity;
import com.material.vtool.entity.combinedEntity.CombinedTeamMaterialEntity;

import java.util.List;

public interface TeamMaterialService {
    int save(BTeamMaterialEntity bTeamMaterialEntity);

    List<CombinedTeamMaterialEntity> getTeamMaterialList(Integer pageNum, Integer pageSize, Integer teamId, Integer labelTypeId);

    int getTeamMaterialListTotal(Integer teamId, Integer labelTypeId);

    int deleteTeamMaterialById(Integer id);

    int updateTeamMaterialTopById(Integer id, Integer teamId);

    BTeamMaterialEntity getTeamMemberMaterial(Integer userId, Integer materialId, Integer teamId);

    int updateTeamMemberMaterialActive(Integer userId, Integer materialId, Integer teamId);
}
